'use strict';

// admin主内容头部导航
module.exports = (options, app) => {
  return async function siteconfigMiddleware(ctx, next) {
    ctx.app.locals.site_config = await ctx.service.redis.getSiteConfig();
    await next();
  };
};

